package com.supor.aiot.md_msg.entity;

import android.text.TextUtils;

import com.google.gson.Gson;
import com.google.gson.JsonObject;

public class MsgCenterListBean {
    private String autoId;
    private String bossUserId;
    private String createTime;
    private int isDel;
    private String isRead;
    private String lastUpdate;
    private String messageContent;
    private int messageId;
    private String messageTitle;
    private String messageType;
    private int messageTypeStatus;
    private String note;
    private String providerId;
    private String remark;
    private String addrJson;

    public String getAutoId() {
        return autoId;
    }

    public void setAutoId(String autoId) {
        this.autoId = autoId;
    }

    public String getBossUserId() {
        return bossUserId;
    }

    public void setBossUserId(String bossUserId) {
        this.bossUserId = bossUserId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getIsDel() {
        return isDel;
    }

    public void setIsDel(int isDel) {
        this.isDel = isDel;
    }

    public String getIsRead() {
        return isRead;
    }

    public void setIsRead(String isRead) {
        this.isRead = isRead;
    }

    public String getLastUpdate() {
        return lastUpdate;
    }

    public void setLastUpdate(String lastUpdate) {
        this.lastUpdate = lastUpdate;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent;
    }

    public int getMessageId() {
        return messageId;
    }

    public void setMessageId(int messageId) {
        this.messageId = messageId;
    }

    public String getMessageTitle() {
        return messageTitle;
    }

    public void setMessageTitle(String messageTitle) {
        this.messageTitle = messageTitle;
    }

    public String getMessageType() {
        return messageType;
    }

    public void setMessageType(String messageType) {
        this.messageType = messageType;
    }

    public int getMessageTypeStatus() {
        return messageTypeStatus;
    }

    public void setMessageTypeStatus(int messageTypeStatus) {
        this.messageTypeStatus = messageTypeStatus;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getProviderId() {
        return providerId;
    }

    public void setProviderId(String providerId) {
        this.providerId = providerId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public AddrJsonBean getAddrJson() {
        if (TextUtils.isEmpty(addrJson)) {
            return null;
        }
        AddrJsonBean addrJsonBean = new Gson().fromJson(addrJson, AddrJsonBean.class);
        return addrJsonBean;
    }

    public void setAddrJson(String addrJson) {
        this.addrJson = addrJson;
    }


}